[INFO] cloning repository https://github.com/cibowang/Hazard_pointer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cibowang/Hazard_pointer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcibowang%2FHazard_pointer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcibowang%2FHazard_pointer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5e1eb0cb24b004a2d618ab92be50b8acf8504bb3
[INFO] fixing cibowang/Hazard_pointer against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcibowang%2FHazard_pointer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cibowang/Hazard_pointer
[INFO] finished tweaking git repo https://github.com/cibowang/Hazard_pointer
[INFO] tweaked toml for git repo https://github.com/cibowang/Hazard_pointer written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cibowang/Hazard_pointer on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cibowang/Hazard_pointer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 75f8ef2dbc66f79b55375b53d120ec46fb26ad8435c0fa8c5fc3e278d282a488
[INFO] running `Command { std: "docker" "start" "75f8ef2dbc66f79b55375b53d120ec46fb26ad8435c0fa8c5fc3e278d282a488", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "75f8ef2dbc66f79b55375b53d120ec46fb26ad8435c0fa8c5fc3e278d282a488" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75f8ef2dbc66f79b55375b53d120ec46fb26ad8435c0fa8c5fc3e278d282a488", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "75f8ef2dbc66f79b55375b53d120ec46fb26ad8435c0fa8c5fc3e278d282a488" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking hazard v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0403]: the name `D` is already used for a generic parameter in this item's generic parameters
[INFO] [stdout]   --> src/lib.rs:54:22
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub trait HazPtrObject<D>
[INFO] [stdout]    |                        - first use of `D`
[INFO] [stdout] ...
[INFO] [stdout] 54 |     unsafe fn retire<D: Deleter>(self: *mut Self) {
[INFO] [stdout]    |                      ^ already used
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `HazPtr`
[INFO] [stdout]   --> src/lib.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |       hazptrs: HazPtr,
[INFO] [stdout]    |                ^^^^^^ help: use struct literal syntax instead: `HazPtr { ptr: val, next: val, active: val }`
[INFO] [stdout] ...
[INFO] [stdout] 29 | / pub struct HazPtr {
[INFO] [stdout] 30 | |     ptr: AtomicPtr<()>,
[INFO] [stdout] 31 | |     next: AtomicPtr<HazPtr>,
[INFO] [stdout] 32 | |     active: AtomicBool,
[INFO] [stdout] 33 | | }
[INFO] [stdout]    | |_- `HazPtr` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:166:37
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let h_ref = unsafe { h.load(&h) }.expect("not null");
[INFO] [stdout]     |                                ---- ^^ expected `&Atomic<*mut _>`, found `&HazPtrHolder`
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Atomic<*mut _>`
[INFO] [stdout]                found reference `&HazPtrHolder`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib.rs:116:19
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub unsafe fn load<T>(&mut self, ptr: &'_ AtomicPtr<T>) -> Option<&T> {
[INFO] [stdout]     |                   ^^^^               ---------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:172:36
[INFO] [stdout]     |
[INFO] [stdout] 172 |             Box::into_raw(Box::new(HazPtrWrapper::with_default_linkedlist(999))),
[INFO] [stdout]     |                           -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected integer, found `HazPtrWrapper<{integer}>`
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `{integer}`
[INFO] [stdout]              found struct `HazPtrWrapper<{integer}>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/alloc/src/boxed.rs:284:11
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0403]: the name `D` is already used for a generic parameter in this item's generic parameters
[INFO] [stdout]   --> src/lib.rs:54:22
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub trait HazPtrObject<D>
[INFO] [stdout]    |                        - first use of `D`
[INFO] [stdout] ...
[INFO] [stdout] 54 |     unsafe fn retire<D: Deleter>(self: *mut Self) {
[INFO] [stdout]    |                      ^ already used
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `HazPtr`
[INFO] [stdout]   --> src/lib.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |       hazptrs: HazPtr,
[INFO] [stdout]    |                ^^^^^^ help: use struct literal syntax instead: `HazPtr { ptr: val, next: val, active: val }`
[INFO] [stdout] ...
[INFO] [stdout] 29 | / pub struct HazPtr {
[INFO] [stdout] 30 | |     ptr: AtomicPtr<()>,
[INFO] [stdout] 31 | |     next: AtomicPtr<HazPtr>,
[INFO] [stdout] 32 | |     active: AtomicBool,
[INFO] [stdout] 33 | | }
[INFO] [stdout]    | |_- `HazPtr` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `retire` found for raw pointer `*mut {integer}` in the current scope
[INFO] [stdout]    --> src/lib.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout]  54 |     unsafe fn retire<D: Deleter>(self: *mut Self) {
[INFO] [stdout]     |                                        --------- the method might not be found because of this arbitrary self type
[INFO] [stdout] ...
[INFO] [stdout] 175 |         old.retire();
[INFO] [stdout]     |             ^^^^^^ method not found in `*mut {integer}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0403, E0423, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0403, E0423.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hazard` (lib test) due to 5 previous errors
[INFO] [stdout] For more information about an error, try `rustc --explain E0403`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `hazard` (lib) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "75f8ef2dbc66f79b55375b53d120ec46fb26ad8435c0fa8c5fc3e278d282a488", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75f8ef2dbc66f79b55375b53d120ec46fb26ad8435c0fa8c5fc3e278d282a488", kill_on_drop: false }`
[INFO] [stdout] 75f8ef2dbc66f79b55375b53d120ec46fb26ad8435c0fa8c5fc3e278d282a488
